<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>行高 | Introduction</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    
    <link rel="prev" href="../css/字体.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.6"
        data-chapter-title="行高"
        data-filepath="css/行高.md"
        data-basepath=".."
        data-revision="Wed Apr 18 2018 23:41:29 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
            <span><b>1.</b> HTML</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/html的基本结构和内容.html">
            
                
                    <a href="../html/html的基本结构和内容.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        HTML
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="html/a-标签.html">
            
                
                    <a href="../html/a-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        a-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="html/img.html">
            
                
                    <a href="../html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        img-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/biaoge.html">
            
                
                    <a href="../html/biaoge.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table-表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/列表与表单.html">
            
                
                    <a href="../html/列表与表单.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        列表与表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="html/音频和视频-标签.html">
            
                
                    <a href="../html/音频和视频-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="html/iframe内嵌框架.html">
            
                
                    <a href="../html/iframe内嵌框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        iframe内嵌框架
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
            <span><b>2.</b> CSS</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/CSS语法.html">
            
                
                    <a href="../css/CSS语法.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        CSS基本语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="css/选择器.html">
            
                
                    <a href="../css/选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/伪类.html">
            
                
                    <a href="../css/伪类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        伪类
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="css/盒子模型.html">
            
                
                    <a href="../css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="css/字体.html">
            
                
                    <a href="../css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        字体
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.6" data-path="css/行高.html">
            
                
                    <a href="../css/行高.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        行高
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >Introduction</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <p><img src="../img/123.png" alt="&#x56FE;&#x7247;"></p>
<h1 id="welcome-to-use-my-xtnotebook">Welcome to use My XT-Notebook</h1>
<h2 id="&#x6837;&#x5F0F;&#x884C;&#x9AD8;">&#x6837;&#x5F0F;-&#x884C;&#x9AD8;</h2>
<h3 id="1&#x884C;&#x9AD8;&#x7684;&#x4E00;&#x4E9B;&#x5C5E;&#x6027;">1.&#x884C;&#x9AD8;&#x7684;&#x4E00;&#x4E9B;&#x5C5E;&#x6027;</h3>
<table>
<thead>
<tr>
<th style="text-align:center">&#x7C7B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">&#x4E00;</td>
<td style="text-align:center">&#x884C;&#x4E0E;&#x884C;&#x4E4B;&#x95F4;&#x7684;&#x7A7A;&#x9699;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;&#x5B57;&#x4F53;&#x7684;1.32&#x500D;&#x5DE6;&#x53F3;</td>
</tr>
<tr>
<td style="text-align:center">&#x4E8C;</td>
<td style="text-align:center">&#x884C;&#x9AD8;&#x8BBE;&#x7F6E;&#x901A;&#x5E38;&#x8981;&#x6BD4;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x8981;&#x5927;</td>
</tr>
<tr>
<td style="text-align:center">&#x4E09;</td>
<td style="text-align:center">&#x884C;&#x9AD8;&#x4F1A;&#x6709;&#x7EE7;&#x627F;&#x6027;</td>
</tr>
<tr>
<td style="text-align:center">&#x56DB;</td>
<td style="text-align:center">&#x8981;&#x505A;&#x5782;&#x76F4;&#x5C45;&#x4E2D;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x5C06;&#x884C;&#x9AD8;&#x8BBE;&#x7F6E;&#x4E3A;&#x9AD8;&#x5EA6;&#x7684;&#x503C;&#x5373;&#x53EF;&#xFF08;&#x5355;&#x884C;&#xFF09;</td>
</tr>
<tr>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
</tr>
<tr>
<td style="text-align:center">vertical-align: middle;</td>
<td style="text-align:center">&#x5782;&#x76F4;&#x5C45;&#x4E2D;&#xFF0C;&#x9700;&#x8981;&#x591A;&#x4E2A;&#x5143;&#x7D20;&#x4E4B;&#x95F4;&#x5BF9;&#x6BD4;</td>
</tr>
<tr>
<td style="text-align:center">display: inline-block;</td>
<td style="text-align:center">&#x884C;&#x5185;&#x5757;</td>
</tr>
<tr>
<td style="text-align:center">text-align: center;</td>
<td style="text-align:center">&#x6C34;&#x5E73;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F;</td>
</tr>
</tbody>
</table>
<h3 id="2&#x7ED3;&#x6784;">2.&#x7ED3;&#x6784;</h3>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;utf-8&quot; /&gt;
        &lt;title&gt;&#x884C;&#x9AD8;&lt;/title&gt;
        &lt;style type=&quot;text/css&quot;&gt;
            *{
                margin: 0px;
                padding: 0px;
            }
            #baba{
                background: skyblue;
                width: 400px;
                height: 200px;
                font-size: 16px;
                /*
                     &#x884C;&#x9AD8;
                         1.&#x884C;&#x4E0E;&#x884C;&#x4E4B;&#x95F4;&#x7684;&#x7A7A;&#x9699;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;&#x5B57;&#x4F53;&#x7684;1.32&#x500D;&#x5DE6;&#x53F3;
                         2.&#x884C;&#x9AD8;&#x8BBE;&#x7F6E;&#x901A;&#x5E38;&#x8981;&#x6BD4;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x8981;&#x5927;
                         3.&#x884C;&#x9AD8;&#x4F1A;&#x6709;&#x7EE7;&#x627F;&#x6027;
                         4.&#x8981;&#x505A;&#x5782;&#x76F4;&#x5C45;&#x4E2D;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x5C06;&#x884C;&#x9AD8;&#x8BBE;&#x7F6E;&#x4E3A;&#x9AD8;&#x5EA6;&#x7684;&#x503C;&#x5373;&#x53EF;&#xFF08;&#x5355;&#x884C;&#xFF09;
                 * */
                line-height: 200px;
                /* &#x95EE;&#x9898;&#xFF1A;a&#x6807;&#x7B7E;&#x4F1A;&#x4E0D;&#x4F1A;&#x7EE7;&#x627F;&#x5B57;&#x4F53;&#x76F8;&#x5173;&#x7684;&#x5C5E;&#x6027; */

                /* &#x5B50;&#x5143;&#x7D20;&#x6587;&#x5B57;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F; */
                text-align: center;

            }

            span ,b{
                line-height: 16px;
            }
            #baba::before{
                /*
                     &#x4F2A;&#x5143;&#x7D20;
                         &#x5728;&#x5BB9;&#x5668;&#x91CC;&#x4F5C;&#x4E3A;&#x884C;&#x5185;&#x7684;&#x5BF9;&#x9F50;&#x5143;&#x7D20;
                 * */
                content: &quot;.&quot;;
                display: inline;
            }

            p{
                /* p&#x6807;&#x7B7E;&#x4F5C;&#x4E3A;&#x5BB9;&#x5668;&#x8BBE;&#x7F6E;&#x4E86;&#x884C;&#x9AD8;&#xFF0C;&#x6240;&#x4EE5;&#x4E0D;&#x53D7;&#x7236;&#x5BB9;&#x5668;&#x7684;200&#x50CF;&#x7D20;&#x884C;&#x9AD8;&#x5F71;&#x54CD; */
                height: 50px;
                line-height: 16px;

                /* &#x5782;&#x76F4;&#x5C45;&#x4E2D;&#xFF0C;&#x9700;&#x8981;&#x591A;&#x4E2A;&#x5143;&#x7D20;&#x4E4B;&#x95F4;&#x5BF9;&#x6BD4; */
                vertical-align: middle;

                /* &#x884C;&#x5185;&#x5757; */
                display: inline-block;

                /* &#x6C34;&#x5E73;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F; */
                text-align: center;
            }
        &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;div id=&quot;baba&quot;&gt;
            &lt;p&gt;
                &lt;span&gt;&#x6587;&#x5B57;&lt;/span&gt;
                &lt;br /&gt;
                &lt;b&gt;&#x6587;&#x5B57;&#x6587;&#x5B57;&lt;/b&gt;
            &lt;/p&gt;


        &lt;/div&gt;

    &lt;/body&gt;
&lt;/html&gt;
</code></pre><h2 id="&#x6CE8;&#x884C;&#x9AD8;&#x7684;&#x5751;">&#x6CE8;-&#x884C;&#x9AD8;&#x7684;&#x5751;</h2>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;&#x884C;&#x9AD8;&#x7684;&#x5751;&lt;/title&gt;
        &lt;style type=&quot;text/css&quot;&gt;
        body{
            background: gray;
        }
            #baba{
                border: 1px solid black;
                font-size: 0px;

            }
            span{
                font-size: 16px;
                /*
                     &#x5782;&#x76F4;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F;
                         &#x5BF9;&#x9F50;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x5404;&#x4E2A;&#x5143;&#x7D20;&#x90FD;&#x6DFB;&#x52A0;&#x4E0A;vertical-align&#x4F1A;&#x6BD4;&#x8F83;&#x51C6;&#x786E;

                         &#x57FA;&#x7EBF;        baseline     &#x9ED8;&#x8BA4;
                         &#x9876;&#x90E8;        top
                         &#x5E95;&#x90E8;        bottom
                         &#x4E2D;&#x7EBF;        middle

                         &#x9488;&#x5BF9;&#x6587;&#x5B57;&#x4E4B;&#x95F4;&#x7684;&#x5BF9;&#x9F50;  text-top  text-bottom
                 * */

                vertical-align:middle;
            }
            img{
                display: inline-block;
                vertical-align: middle;
            }
        &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;!--
            &#x4F7F;&#x7528;img&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x5BB9;&#x5668;&#x548C;&#x56FE;&#x7247;&#x7684;&#x5E95;&#x90E8;&#x4F1A;&#x4EA7;&#x751F;&#x4E00;&#x4E9B;&#x7A7A;&#x9699;

                &#x539F;&#x56E0;&#xFF1A;
                    1.img&#x5C5E;&#x4E8E;&#x7F6E;&#x6362;&#x5143;&#x7D20;&#xFF08;&#x66FF;&#x6362;&#x5143;&#x7D20;&#xFF0C;&#x4E5F;&#x6709;&#x884C;&#x5185;&#x5143;&#x7D20;&#x7684;&#x7279;&#x5F81;&#xFF09;
                    2.&#x5BB9;&#x5668;&#x9884;&#x7559;&#x4F4D;&#x7F6E;&#x65F6;&#x4EA7;&#x751F;&#x7A7A;&#x9699;

                &#x89E3;&#x51B3;&#x529E;&#x6CD5;&#xFF1A;
                    1.&#x5BB9;&#x5668;&#x7684;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x8BBE;&#x7F6E;&#x4E3A;0, &#x7F3A;&#x70B9;&#xFF1A;&#x540C;&#x4E00;&#x4E2A;&#x5BB9;&#x5668;&#x91CC;&#x7684;&#x6587;&#x5B57;&#x5185;&#x5BB9;&#x4E5F;&#x4F1A;&#x88AB;&#x5F71;&#x54CD;
                    2.&#x5C06;img&#x8BBE;&#x7F6E;&#x4E3A;&#x5757;&#x7EA7;&#x5143;&#x7D20;&#xFF0C; &#x7F3A;&#x70B9;&#xFF1A;&#x540E;&#x9762;&#x8981;&#x8FFD;&#x52A0;&#x6587;&#x5B57;&#x5185;&#x5BB9;&#x5C31;&#x4F1A;&#x88AB;&#x6362;&#x884C;
                    3.&#x5C06;img&#x8BBE;&#x7F6E;&#x4E3A;&#x884C;&#x5185;&#x5757;&#x7EA7;&#x5143;&#x7D20;        &#x7EFC;&#x5408;&#x60C5;&#x51B5;&#xFF1A;&#x8FD9;&#x4E2A;&#x884C;&#x5185;&#x5757;&#x7EA7;&#x7684;&#x529E;&#x6CD5;&#x6BD4;&#x8F83;&#x5408;&#x9002;
        --&gt;


        &lt;div id=&quot;baba&quot;&gt;
            &lt;img src=&quot;img/A.jpg&quot;/&gt;
            &lt;span&gt;&#x5C0F;&#x57CB;&lt;/span&gt;
        &lt;/div&gt;


    &lt;/body&gt;
&lt;/html&gt;
</code></pre>
                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../css/字体.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 字体"><i class="fa fa-angle-left"></i></a>
        
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
